package com.qyhl.module_practice.volunteer.list;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeIsVolunteerBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeVolunteerBean;

import java.util.List;

public interface PracticeVolunteerContract {
    interface PracticeVolunteerView {
        void setList(List<PracticeVolunteerBean> beanList, boolean isMore);

        void setSearchList(List<PracticeVolunteerBean> beanList, boolean isMore);

        void setIsVolunteer(PracticeIsVolunteerBean bean);

        void setError(String msg, boolean isMore);
    }

    interface PraciceVolunteerPresenter {
        void getList(String page);

        void getOrgList(String orgId, String page);

        void getIsVolunteer(String phone);

        void doSearch(String keyword, String page);

        void doOrgSearch(String keyword, String page, String orgId);

        void setList(List<PracticeVolunteerBean> beanList, boolean isMore);

        void setSearchList(List<PracticeVolunteerBean> beanList, boolean isMore);

        void setIsVolunteer(PracticeIsVolunteerBean bean);

        void setError(String msg, boolean isMore);
    }

    interface PracticeVolunteerModel {
        void getList(String page);

        void getOrgList(String orgId, String page);

        void getIsVolunteer(String phone);

        void doSearch(String keyword, String page);

        void doOrgSearch(String keyword, String page, String orgId);
    }
}
